package com.example.daxiguaforharmony.game.system;

import com.example.daxiguaforharmony.game.GameScene;
import com.example.daxiguaforharmony.game.core.featrue.IReactiveSystem;

public class UseGoldenHammerSystem implements IReactiveSystem {
    private GameScene _scene = null;
    public boolean enabled = true;
    public UseGoldenHammerSystem(GameScene scene) {
        this._scene = scene;
    }

    @Override
    public boolean Filter(String type) {
        return this.enabled && type == GameScene.Event.USE_GOLDEN_HAMMER_ITEM;
    }

    @Override
    public void Execute(String type, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) {
        this._scene.showToast("即将开启！");
    }

    @Override
    public void Destory() {}
}
